package com.xue566.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: Wuzh
 * @Description: 作业实体类
 * @Data:
 */
@Data
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式
@TableName(value = "task_info")
public class TaskEntity extends BaseEntity {

    @TableId(value = "taskId", type = IdType.INPUT)
    private String taskId;
    @TableField(value = "taskTitle")
    private String taskTitle;
    @TableField(value = "classId")
    private String classId;
    @TableField(value = "taskContent")
    private String taskContent;
    @TableField(value = "createTime")
    private String createTime;
    @TableField(value = "taskPic")
    private String taskPic;
    @TableField(value = "isUsed")
    private int isUsed;


    public String getTaskId () {
        return taskId;
    }

    public void setTaskId (String taskId) {
        this.taskId = taskId;
    }


    public String getTaskTitle () {
        return taskTitle;
    }

    public void setTaskTitle (String taskTitle) {
        this.taskTitle = taskTitle;
    }


    public String getClassId () {
        return classId;
    }

    public void setClassId (String classId) {
        this.classId = classId;
    }


    public String getTaskContent () {
        return taskContent;
    }

    public void setTaskContent (String taskContent) {
        this.taskContent = taskContent;
    }


    public String getCreateTime () {
        return createTime;
    }

    public void setCreateTime (String createTime) {
        this.createTime = createTime;
    }


    public String getTaskPic () {
        return taskPic;
    }

    public void setTaskPic (String taskPic) {
        this.taskPic = taskPic;
    }

    public int getIsUsed () {
        return isUsed;
    }

    public void setIsUsed (int isUsed) {
        this.isUsed = isUsed;
    }
}
